<?php
/**
 * Created by PhpStorm.
 * User: helloxingtongshi
 * Date: 2016-06-02
 * Time: 15:46
 */
//编写日历
$year=isset($_GET['year'] )? $_GET['year']:date("Y");//当前的年
$year=isset($_GET['month'] )? $_GET['month']:date("m");//当前的月
$year=isset($_GET['date'] )? $_GET['date']:date("d");//当前的日

echo "<table border='1' width='350' align='center'>";
echo "<tr>";
echo "<h1>Calendar</h1>";
echo "<tr>";
echo "<th style='background: blue'>日</th>";
echo "<th style='background: blue'>一</th>";
echo "<th style='background: blue'>二</th>";
echo "<th style='background: blue'>三</th>";
echo "<th style='background: blue'>四</th>";
echo "<th style='background: blue'>五</th>";
echo "<th style='background: blue'>六</th>";
echo '</tr>';


echo "</table>"

?>